<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>得圣网络安全 - 官方APP下载</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            background: linear-gradient(135deg, #f0f8ff 0%, #e1f5fe 25%, #b3e5fc 50%, #81d4fa 75%, #4fc3f7 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px;
            position: relative;
            overflow-x: hidden;
        }

        /* 动画背景 */
        .bg-animation {
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: -1;
            opacity: 0.3;
        }

        .bg-animation::before,
        .bg-animation::after {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            border-radius: 50%;
            animation: float 20s infinite ease-in-out;
        }

        .bg-animation::before {
            background: rgba(0, 188, 212, 0.1);
        }

        .bg-animation::after {
            background: rgba(255, 152, 0, 0.08);
        }

        .bg-animation::before {
            top: -200px;
            left: -200px;
            animation-delay: 0s;
        }

        .bg-animation::after {
            bottom: -200px;
            right: -200px;
            animation-delay: 10s;
        }

        @keyframes float {

            0%,
            100% {
                transform: translate(0, 0) scale(1);
            }

            25% {
                transform: translate(100px, -100px) scale(1.1);
            }

            50% {
                transform: translate(-100px, 100px) scale(0.9);
            }

            75% {
                transform: translate(50px, 50px) scale(1.05);
            }
        }

        /* 主容器 */
        .container {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 40px 30px;
            max-width: 400px;
            width: 100%;
            box-shadow: 0 20px 60px rgba(33, 150, 243, 0.2);
            border: 1px solid rgba(33, 150, 243, 0.1);
            animation: slideUp 0.5s ease-out;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Logo区域 */
        .logo-area {
            text-align: center;
            margin-bottom: 30px;
        }

        .app-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #00bcd4, #0097a7, #006064);
            border-radius: 20px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            box-shadow: 0 10px 30px rgba(0, 188, 212, 0.4);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.05);
            }

            100% {
                transform: scale(1);
            }
        }

        .app-icon svg {
            width: 50px;
            height: 50px;
            fill: white;
        }

        .app-name {
            font-size: 24px;
            font-weight: bold;
            background: linear-gradient(135deg, #1565c0, #0d47a1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 5px;
        }

        .app-desc {
            font-size: 14px;
            color: #37474f;
            font-weight: 500;
        }

        /* 下载按钮 */
        .download-buttons {
            margin: 30px 0;
        }

        .download-btn {
            width: 100%;
            padding: 16px;
            margin-bottom: 15px;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            position: relative;
            overflow: hidden;
        }

        .download-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .download-btn:active::before {
            width: 300px;
            height: 300px;
        }

        .ios-btn {
            background: linear-gradient(135deg, #ff6b6b, #ee5a52, #e53935);
            color: white;
            border: 2px solid #e53935;
        }

        .android-btn {
            background: linear-gradient(135deg, #4caf50, #43a047, #388e3c);
            color: white;
            border: 2px solid #388e3c;
        }

        .ios-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
        }

        .android-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
        }

        .btn-icon {
            width: 24px;
            height: 24px;
            margin-right: 10px;
            fill: currentColor;
        }

        /* 微信提示遮罩 */
        .wechat-mask {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.9);
            z-index: 9999;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .wechat-mask.show {
            display: block;
        }

        .mask-content {
            padding: 20px;
            color: white;
            text-align: right;
        }

        .arrow {
            width: 0;
            height: 0;
            border-left: 20px solid transparent;
            border-right: 20px solid transparent;
            border-bottom: 30px solid white;
            position: absolute;
            top: 20px;
            right: 30px;
            animation: bounce 1s infinite;
        }

        @keyframes bounce {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-10px);
            }
        }

        .mask-text {
            margin-top: 80px;
            font-size: 18px;
            line-height: 1.6;
        }

        /* 功能特性 */
        .features {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid rgba(96, 125, 139, 0.2);
        }

        .feature-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            opacity: 0;
            animation: slideIn 0.5s ease forwards;
        }

        .feature-item:nth-child(1) {
            animation-delay: 0.1s;
        }

        .feature-item:nth-child(2) {
            animation-delay: 0.2s;
        }

        .feature-item:nth-child(3) {
            animation-delay: 0.3s;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .feature-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .feature-item:nth-child(1) .feature-icon {
            background: linear-gradient(135deg, #ff9800, #f57c00);
        }

        .feature-item:nth-child(2) .feature-icon {
            background: linear-gradient(135deg, #9c27b0, #7b1fa2);
        }

        .feature-item:nth-child(3) .feature-icon {
            background: linear-gradient(135deg, #4caf50, #388e3c);
        }

        .feature-item:nth-child(4) .feature-icon {
            background: linear-gradient(135deg, #f44336, #d32f2f);
        }

        .feature-icon svg {
            width: 20px;
            height: 20px;
            fill: white;
        }

        .feature-text h3 {
            font-size: 14px;
            color: #263238;
            margin-bottom: 2px;
            font-weight: 600;
        }

        .feature-text p {
            font-size: 12px;
            color: #546e7a;
        }

        /* 底部信息 */
        .footer {
            margin-top: 30px;
            text-align: center;
            font-size: 12px;
            color: #607d8b;
        }

        /* 响应式设计 */
        @media (max-width: 380px) {
            .container {
                padding: 30px 20px;
            }

            .app-name {
                font-size: 20px;
            }

            .download-btn {
                font-size: 15px;
                padding: 14px;
            }
        }
    </style>
</head>

<body>
    <div class="bg-animation"></div>

    <div class="container">
        <!-- Logo区域 -->
        <div class="logo-area">
            <div class="app-icon">
                <svg viewBox="0 0 24 24">
                    <path d="M12 2L2 7v10c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V7l-10-5z" />
                </svg>
            </div>
            <div class="app-name">得圣APP下载</div>
            <div class="app-desc">🛡️ 您的网络安全，我们守护</div>
        </div>

        <!-- 下载按钮 -->
        <div class="download-buttons">
            <button class="download-btn ios-btn" onclick="downloadIOS()">
                <svg class="btn-icon" viewBox="0 0 24 24">
                    <path
                        d="M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z" />
                </svg>
                <span>iPhone 下载</span>
            </button>

            <button class="download-btn android-btn" onclick="downloadAndroid()">
                <svg class="btn-icon" viewBox="0 0 24 24">
                    <path
                        d="M6.18 2L6.18 2C5.53 2 5 2.53 5 3.18L5 3.18C5 3.83 5.53 4.36 6.18 4.36L6.18 4.36C6.83 4.36 7.36 3.83 7.36 3.18L7.36 3.18C7.36 2.53 6.83 2 6.18 2M17.82 2L17.82 2C17.17 2 16.64 2.53 16.64 3.18L16.64 3.18C16.64 3.83 17.17 4.36 17.82 4.36L17.82 4.36C18.47 4.36 19 3.83 19 3.18L19 3.18C19 2.53 18.47 2 17.82 2M7.36 6.73L16.64 6.73L16.64 15.09C16.64 15.74 16.11 16.27 15.45 16.27L14.27 16.27L14.27 20C14.27 20.65 13.74 21.18 13.09 21.18L13.09 21.18C12.44 21.18 11.91 20.65 11.91 20L11.91 16.27L10.09 16.27L10.09 20C10.09 20.65 9.56 21.18 8.91 21.18L8.91 21.18C8.26 21.18 7.73 20.65 7.73 20L7.73 16.27L6.55 16.27C5.89 16.27 5.36 15.74 5.36 15.09L5.36 6.73L7.36 6.73M12 8.18C10.05 8.18 8.45 9.77 8.45 11.73C8.45 13.68 10.05 15.27 12 15.27C13.95 15.27 15.55 13.68 15.55 11.73C15.55 9.77 13.95 8.18 12 8.18M3.18 7.36L3.18 7.36C2.53 7.36 2 7.89 2 8.55L2 14.82C2 15.47 2.53 16 3.18 16L3.18 16C3.83 16 4.36 15.47 4.36 14.82L4.36 8.55C4.36 7.89 3.83 7.36 3.18 7.36M20.82 7.36L20.82 7.36C20.17 7.36 19.64 7.89 19.64 8.55L19.64 14.82C19.64 15.47 20.17 16 20.82 16L20.82 16C21.47 16 22 15.47 22 14.82L22 8.55C22 7.89 21.47 7.36 20.82 7.36Z" />
                </svg>
                <span>Android 下载</span>
            </button>
        </div>

        <!-- 功能特性 -->
        <div class="features">
            <div class="feature-item">
                <div class="feature-icon">
                    <svg viewBox="0 0 24 24">
                        <path d="M12 2L2 7v10c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V7l-10-5z" />
                    </svg>
                </div>
                <div class="feature-text">
                    <h3>🔒 安全防护</h3>
                    <p>多层加密，数据安全</p>
                </div>
            </div>

            <div class="feature-item">
                <div class="feature-icon">
                    <svg viewBox="0 0 24 24">
                        <path
                            d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z" />
                    </svg>
                </div>
                <div class="feature-text">
                    <h3>🌐 网络监控</h3>
                    <p>实时监测，威胁预警</p>
                </div>
            </div>

            <div class="feature-item">
                <div class="feature-icon">
                    <svg viewBox="0 0 24 24">
                        <path d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" />
                    </svg>
                </div>
                <div class="feature-text">
                    <h3>✅ 权威认证</h3>
                    <p>专业团队，值得信赖</p>
                </div>
            </div>

            <div class="feature-item">
                <div class="feature-icon">
                    <svg viewBox="0 0 24 24">
                        <path
                            d="M13 9h-2v2H9v2h2v2h2v-2h2v-2h-2V9zm-1-7C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z" />
                    </svg>
                </div>
                <div class="feature-text">
                    <h3>🛠️ 专业服务</h3>
                    <p>7×24小时技术支持</p>
                </div>
            </div>
        </div>

        <!-- 底部信息 -->
        <div class="footer">
            <p>版本：v1.0.0 | 大小：50MB</p>
            <p style="margin-top: 5px;">© 2025 北京东圣天成科技有限公司</p>
        </div>
    </div>

    <!-- 微信提示遮罩 -->
    <div class="wechat-mask" id="wechatMask">
        <div class="mask-content">
            <div class="arrow"></div>
            <div class="mask-text">
                <p>点击右上角 ···</p>
                <p>选择"在浏览器打开"</p>
                <p>即可下载安装</p>
            </div>
        </div>
    </div>

    <script>
        // 检测是否在微信浏览器中
        function isWechat() {
            const ua = navigator.userAgent.toLowerCase();
            return ua.match(/MicroMessenger/i) == "micromessenger";
        }

        // 检测设备类型
        function getDeviceType() {
            const ua = navigator.userAgent;
            if (/android/i.test(ua)) {
                return 'android';
            }
            if (/iPad|iPhone|iPod/.test(ua) && !window.MSStream) {
                return 'ios';
            }
            return 'unknown';
        }

        // iOS下载
        function downloadIOS() {
            if (isWechat()) {
                // 在微信中，显示提示
                document.getElementById('wechatMask').classList.add('show');
            } else {
                // 替换为您的App Store链接
                window.location.href = 'https://apps.apple.com/cn/app/your-app-id';
            }
        }

        // Android下载
        function downloadAndroid() {
            if (isWechat()) {
                // 在微信中，显示提示
                document.getElementById('wechatMask').classList.add('show');
            } else {
                // 替换为您的APK下载链接或应用市场链接
                window.location.href = 'https://your-domain.com/app.apk';
                // 或跳转到应用市场
                // window.location.href = 'market://details?id=com.yourcompany.yourapp';
            }
        }

        // 点击遮罩关闭
        document.getElementById('wechatMask').addEventListener('click', function () {
            this.classList.remove('show');
        });

        // 页面加载时自动检测设备类型并调整按钮顺序
        window.onload = function () {
            const deviceType = getDeviceType();
            const buttons = document.querySelector('.download-buttons');
            const iosBtn = document.querySelector('.ios-btn');
            const androidBtn = document.querySelector('.android-btn');

            // 根据设备类型调整按钮顺序
            if (deviceType === 'android') {
                buttons.insertBefore(androidBtn, iosBtn);
            } else if (deviceType === 'ios') {
                buttons.insertBefore(iosBtn, androidBtn);
            }

            // 可以根据设备类型隐藏不相关的按钮
            // if (deviceType === 'ios') {
            //     androidBtn.style.display = 'none';
            // } else if (deviceType === 'android') {
            //     iosBtn.style.display = 'none';
            // }
        };
    </script>
</body>

</html>